package cn.jaye.fabric.application.command.user;

import cn.jaye.fabric.common.model.BaseCommand;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author Jaye
 * @create 2018-05-09 10:50
 */
@Setter
@Getter
public class LoginUserCommand extends BaseCommand{

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;

    @NotEmpty(message = "组织Id不能为空")
    private String orgId;
}
